package net.lab1024.sa.admin.module.business.category.domain.form;

import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 前台类目映射关系 新建表单
 *
 * @Author jabari
 * @Date 2023-06-01 15:12:35
 * @Copyright 51dev.cn
 */

@Data
public class FrontCategoryMapAddForm {

    @ApiModelProperty(value = "映射ID", required = true)
    @NotNull(message = "映射ID 不能为空")
    private Integer mapId;

    @ApiModelProperty(value = "前台类目ID", required = true)
    @NotNull(message = "前台类目ID 不能为空")
    private Integer frontCategoryId;

    @ApiModelProperty(value = "后台类目ID", required = true)
    @NotNull(message = "后台类目ID 不能为空")
    private Integer categoryId;

    @ApiModelProperty(value = "更新时间", required = true)
    @NotNull(message = "更新时间 不能为空")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间", required = true)
    @NotNull(message = "创建时间 不能为空")
    private LocalDateTime createTime;

}